package com.study.android.app;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.study.android.app.broadcast.TestBroadcastActivity;
import com.today.step.lib.StepCounterActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public void onContentChanged() {
        super.onContentChanged();
        ButterKnife.bind(this);
    }

    @OnClick(R.id.step_counter_btn)
    void gotoStepCounterActivity() {
        StepCounterActivity.start(this);
    }

    @OnClick(R.id.broadcast_btn)
    void gotoBroadCastActivity() {
        TestBroadcastActivity.start(this);
    }


}
